//C07:exec_7_12.c -- 'A'->'B','Z'->'A', or 'a'->'b','z'->'a'
#include <stdio.h>
#include <string.h>

void transform_1(char arr[])
{
    int i = 0;
   
    while(arr[i] != '\0')
    {
        if(arr[i] >= 'A' && arr[i] <= 'Z') 
        {
            arr[i] = 'A' + (arr[i] - 'A' + 1) % 26;  
            i++;
        }
        else if(arr[i] >= 'a' && arr[i] <= 'z') 
        {
            arr[i] = 'a' + (arr[i] - 'a' + 1) % 26;
            i++;
        }
        else 
        {
         i++;
         continue; 
        }
        
    }
}

void output(char arr[])
{
    int i = 0;
    while(arr[i] != '\0')
    {
        putchar(arr[i]);
        i++;
    }
    printf("\n");
}

int main(void)
{
    char arr[20];
    printf("Enter some words:\n");
    scanf("%s",arr);
    arr[strlen(arr)+1] = '\0';
    transform_1(arr);
    output(arr);
}